package com.test.dao;

import com.test.domain.Dish;
import com.test.domain.DishExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DishMapper {
    long countByExample(DishExample example);

    int deleteByExample(DishExample example);

    int insert(Dish record);
    Dish selectDishById(Dish dish);

    int insertSelective(Dish record);

    List<Dish> selectByExample(DishExample example);

    int updateByExampleSelective(@Param("record") Dish record, @Param("example") DishExample example);

    int updateByExample(@Param("record") Dish record, @Param("example") DishExample example);
}